import request from '@/utils/request'

// 查询合同审批列表
export function listAdministrateContact(query) {
  return request({
    url: '/oa/administrateContact/list',
    method: 'get',
    params: query
  })
}

// 查询合同审批详细
export function getAdministrateContact(id) {
  return request({
    url: '/oa/administrateContact/' + id,
    method: 'get'
  })
}

// 新增合同审批
export function addAdministrateContact(data) {
  return request({
    url: '/oa/administrateContact',
    method: 'post',
    data: data
  })
}

// 修改合同审批
export function updateAdministrateContact(data) {
  return request({
    url: '/oa/administrateContact',
    method: 'put',
    data: data
  })
}

// 删除合同审批
export function delAdministrateContact(id) {
  return request({
    url: '/oa/administrateContact/' + id,
    method: 'delete'
  })
}
